#include <stdio.h>
#include <assert.h>
#include <sys/time.h>


struct timeval tv;
struct timezone tz;
int main(){

	int ret = gettimeofday(&tv, &tz);
	
	assert(ret == 0);
	
	int i = 0;
	for(i = 0; i < 100; i++){
		ret = gettimeofday(&tv, &tz);
		printf("time_tv_sec: %ld time_tv_usec: %ld\n", tv.tv_sec, tv.tv_usec);
	}

		
	return 0;
}
